import request from "@/util/request.js";
/**
 * 微信登录
 */
export function wechatLogin(code){
	return request.get('/wechatLogin',{
		code: code
	});
}

/**
 * 发送短信验证码
 */
export function sendCode(phone){
	return request.get('/sendCode',{
		phone: phone
	});
}

/**
 * 绑定手机号码
 */
export function bindPhone(phone,code){
	return request.get('/bindPhone',{
		phone: phone,
		code: code
	});
}